package com.petot.claude.gwt.example.server.model;

public class Person {

    private Long id;
    private String firstName, lastName;
    private int age;
    private Address address;

    public Person() {
    }

    public Person( Long pId, String pFirstName, String pLastName, int pAge, Address pAddress ) {
        super();
        id = pId;
        firstName = pFirstName;
        lastName = pLastName;
        age = pAge;
        address = pAddress;
    }

    public Long getId() {
        return id;
    }

    public void setId( Long pId ) {
        id = pId;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName( String pFirstName ) {
        firstName = pFirstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName( String pLastName ) {
        lastName = pLastName;
    }

    public int getAge() {
        return age;
    }

    public void setAge( int pAge ) {
        age = pAge;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress( Address pAddress ) {
        address = pAddress;
    }

}
